﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Common.DTO;

namespace ImmoralServices
{
    [ServiceContract]
    public interface IPlayerService
    {
        // --- INFO ---

        [OperationContract]
        bool CheckIfUsernameExists(string username);

        [OperationContract]
        List<Player> GetAllPlayer();


        // --- ACTIONS ---

        [OperationContract]
        bool CreatePlayer(string username, string password, string email);

        [OperationContract]
        Player LoginPlayer(string username, string password);

    }
}
